# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname="py3-python-versioneer"
pkgver="0.18"
pkgrel=0
pkgdesc="Version-string management for VCS-controlled trees "
url="https://github.com/warner/python-versioneer"
arch="noarch"
license="Unlicense"
depends="python3"
makedepends="py3-setuptools"
source="https://github.com/warner/python-versioneer/archive/$pkgver/python-versioneer-$pkgver.tar.gz"
options="!check" # Requires Python 3.6 or lower
builddir="$srcdir/python-versioneer-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="e6f3c6274307c8c40bb6cd49cb18d29e049998a455ffbfe9190018b502c99669d5ba33d6575aafacc9310659d9309f9409e62152fcff80985cd98ae6485a31bc  python-versioneer-0.18.tar.gz"
